﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ActionSyntax.ascx.cs"
    Inherits="WebUI.Admin.UserControls.ActionSyntax" %>
<%@ Register src="../../UserControls/NHPagingControl.ascx" tagname="NHPagingControl" tagprefix="uc1" %>
<table class="table" cellspacing="0" rules="all" border="1" style="width: 100%; border-collapse: collapse;">
    <tbody>
        <tr>
            <th scope="col">
                Tỉnh
            </th>
            <th scope="col">
                Cú Pháp
            </th>
            <th scope="col">
                Tổng Đài
            </th>
            <th scope="col">
            </th>
        </tr>
        <asp:Repeater ID="RepeaterSyntax" runat="server" OnItemCommand="RepeaterSyntax_mmand">
            <ItemTemplate>
                <tr>
                    <td style="text-align: center">
                        <%# ThanhTu.GNC.Media.KQXS.Common.Utils.ToUTF8String((byte[])Eval("PRINCENAME"))%>
                    </td>
                    <td style="text-align: center">
                        <%# Eval("SYNTAX")%>
                    </td>
                    <td style="text-align: center">
                        <%# Eval("SwitchBoard")%>
                    </td>
                    </td>
                    <td style="text-align: center">
                        <a href="../Admin/UpdateSyntaxMessenger.aspx?PovinceName= <%# ThanhTu.GNC.Media.KQXS.Common.Utils.ToUTF8String((byte[])Eval("PRINCENAME"))%>%>&Syntax=<%# Eval("SYNTAX") %>&SwitchBoard=<%# Eval("SwitchBoard") %>&PROVINCEID=<%# Eval("PROVINCEID") %>">
                            Update</a>
                        <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="return confirm('Are you sure you want to Delete this Record?');"
                        CommandArgument='<%# Eval("SwitchBoard") %>'    CommandName='<%# Eval("PROVINCEID") %>'>Delete</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                <asp:Label ID="lblFooter" runat="server"></asp:Label>
            </FooterTemplate>
        </asp:Repeater>
        <tr>
            <td colspan="4">
                <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border: 0px;
                    padding-top: 10px; background-color: Transparent;">
                    <tr>
                        <td style="border: 0px;" valign="top" align="right">
                            <uc1:NHPagingControl ID="NHPagingControl1" runat="server" />
                        </td>
                   &nbsp;</td>

                    </tr>
                </table>
            </td>
        </tr>
    </tbody>
</table>

